<%--
  User: Shengzhao Li
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="custom" tagdir="/WEB-INF/tags" %>
<c:forEach items="${thingSearchDto.list}" var="t">
    <li ${t.showWarning?'data-theme="e"':''}>
        <c:if test="${t.allowAction}" var="allowAction">
            <a href="action/${t.guid}?key=${thingSearchDto.key}">
                <custom:thing_search_result_tag thing="${t}"/>
            </a>
        </c:if>
        <c:if test="${not allowAction}">
            <custom:thing_search_result_tag thing="${t}"/>
        </c:if>
    </li>
</c:forEach>
